home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 November / Chip 11-96.iso / workshop / howto / b_prompt next >
Text File  |  1996-09-04  |  78KB  |  1,736 lines

  1.   The Linux BootPrompt-HowTo
  2.   Paul Gortmaker, Editor.
  3.   v1.11, 1 July 1996
  4.  
  5.   This is the BootPrompt-Howto, which is a compilation of all the possi¡
  6.   ble boot time arguments that can be passed to the Linux kernel at boot
  7.   time. This includes all kernel and device parameters.  A discussion of
  8.   how the kernel sorts boot time arguments, along with an overview of
  9.   some of the popular software used to boot Linux kernels is also
  10.   included.
  11.  
  12.   1.  Introduction
  13.  
  14.   The kernel has a limited capability to accept information at boot in
  15.   the form of a `command line', similar to an argument list you would
  16.   give to a program. In general this is used to supply the kernel with
  17.   information about hardware parameters that the kernel would not be
  18.   able to determine on its own, or to avoid/override the values that the
  19.   kernel would otherwise detect.
  20.  
  21.   However, if you just copy a kernel image directly to a floppy, (e.g.
  22.   cp zImage /dev/fd0) then you are not given a chance to specify any
  23.   arguments to that kernel. So most Linux users will use software like
  24.   LILO or loadlin that takes care of handing these arguments to the
  25.   kernel, and then booting it.
  26.  
  27.   This present revision covers kernels up to and including v2.0.  The
  28.   BootPrompt-Howto is edited and maintained by:
  29.  
  30.        Paul Gortmaker, gpg109@rsphy1.anu.edu.au
  31.  
  32.   [Please note that boot prompt arguments that are specific to the non-
  33.   i386 ports and devices (esp. Atari/Amiga) are not currently
  34.   documented.]
  35.  
  36.   1.1.  Disclaimer and Copyright
  37.  
  38.   This document is not gospel. However, it is probably the most up to
  39.   date info that you will be able to find. Nobody is responsible for
  40.   what happens to your hardware but yourself. If your hardware goes up
  41.   in smoke (...nearly impossible!)  I take no responsibility. ie. THE
  42.   AUTHOR IS NOT RESPONSIBLE FOR ANY DAMAGES INCURRED DUE TO ACTIONS
  43.   TAKEN BASED ON THE INFORMATION INCLUDED IN THIS DOCUMENT.
  44.  
  45.   This document is Copyright (C) 1995,1996 by Paul Gortmaker.
  46.  
  47.   This document may be copied according to the conditions of the GNU
  48.   General Public License, version 2, included herein by reference. See
  49.   the file linux/COPYING that comes with the Linux kernel for full
  50.   details.
  51.  
  52.   If you are intending to incorporate this document into a published
  53.   work, please contact me, and I will make an effort to ensure that you
  54.   have the most up to date information available. In the past, out of
  55.   date versions of the Linux howto documents have been published, which
  56.   caused the developers undue grief from being plagued with questions
  57.   that were already answered in the up to date versions.
  58.  
  59.   1.2.  Related Documentation
  60.  
  61.   The most up-to-date documentation will always be the kernel source
  62.   itself. Hold on! Don't get scared. You don't need to know any
  63.   programming to read the comments in the source files.  For example, if
  64.   you were looking for what arguments could be passed to the AHA1542
  65.   SCSI driver, then you would go to the linux/drivers/scsi directory,
  66.   and look at the file aha1542.c -- and within the first 100 lines, you
  67.   would find a plain english description of the boot time arguments that
  68.   the 1542 driver accepts.
  69.  
  70.   The next best thing will be any documentation files that are
  71.   distributed with the kernel itself. There are now quite a few of
  72.   these, and most of them can be found in the directory
  73.   linux/Documentation and subdirectories from there.  The linux
  74.   directory is usually found in /usr/src/.  Sometimes there will be
  75.   README.foo files that can be found in the related driver directory
  76.   (e.g. linux/drivers/XXX/, where XXX will be scsi, char, or net).
  77.  
  78.   If you have figured out what boot-args you intend to use, and now want
  79.   to know how to get that information to the kernel, then look at the
  80.   documentation that comes with the software that you use to boot the
  81.   kernel (e.g. LILO or loadlin). A brief overview is given below, but it
  82.   is no substitute for the documentation that comes with the booting
  83.   software.
  84.  
  85.   1.3.  The Linux Newsgroups
  86.  
  87.   If you have questions about passing boot arguments to the kernel,
  88.   please READ this document first. If this and the related documentation
  89.   mentioned above does not answer your question(s) then you can try the
  90.   Linux newsgroups.  Of course you should try reading the group before
  91.   blindly posting your question, as somebody else may have already asked
  92.   it, or it may even be a Frequently Asked Question (a FAQ).  A quick
  93.   browse of the linux FAQ before posting is a good idea. You should be
  94.   able to find the FAQ somewhere close to where you found this document.
  95.  
  96.   General questions on how to configure your system should be directed
  97.   to the comp.os.linux.setup newsgroup.  We ask that you please respect
  98.   this general guideline for content, and don't cross-post your request
  99.   to other groups.
  100.  
  101.   1.4.  New Versions of this Document
  102.  
  103.   New versions of this document can be retrieved via anonymous FTP from
  104.   the site sunsite.unc.edu, in the directory /pub/Linux/docs/HOWTO/.
  105.   Note that SunSITE is usually heavily loaded, and you are better
  106.   advised to get the document from one of the Linux ftp mirror sites.
  107.   Updates will be made as new information and/or drivers becomes
  108.   available. If this copy that you are presently reading is more than a
  109.   few months old, then you should probably check to see if a newer copy
  110.   exists.
  111.  
  112.   This document was produced by using a modified SGML system that was
  113.   specifically set up for the Linux Howto project, and there are various
  114.   output formats available, including, postscript, dvi, ascii, html, and
  115.   soon TeXinfo.  I would recommend viewing it in the html (via a WWW
  116.   browser) or the Postscript/dvi format. Both of these contain cross-
  117.   references that are lost in the ascii translation.
  118.  
  119.   If you want to get the official copy off sunsite, here is URL.
  120.  
  121.   BootPrompt-HOWTO <http://sunsite.unc.edu/mdw/HOWTO/BootPrompt-
  122.   HOWTO.html>
  123.  
  124.   2.  Overview of Boot Prompt Arguments
  125.  
  126.   This section gives some examples of software that can be used to pass
  127.   kernel boot-time arguments to the kernel itself.  It also gives you an
  128.   idea of how the arguments are processed, what limitations there are on
  129.   the boot args, and how they filter down to each appropriate device
  130.   that they are intended for.
  131.  
  132.   It is important to note that spaces should not be used in a boot
  133.   argument, but only between separate arguments.  A list of values that
  134.   are for a single argument are to be separated with a comma between the
  135.   values, and again without any spaces. See the following examples
  136.   below.
  137.  
  138.   ______________________________________________________________________
  139.           ether=9,0x300,0xd0000,0xd4000,eth0  vga=ask               *RIGHT*
  140.           ether = 9, 0x300, 0xd0000, 0xd4000, eth0  vga = ask       *WRONG*
  141.   ______________________________________________________________________
  142.  
  143.   2.1.  LILO (LInux LOader)
  144.  
  145.   The LILO program (LInux LOader) written by Werner Almesberger is the
  146.   most commonly used. It has the ability to boot various kernels, and
  147.   stores the configuration information in a plain text file. Most
  148.   distributions ship with LILO as the default boot-loader. LILO can boot
  149.   DOS, OS/2 Linux, FreeBSD, etc. without any difficulties, and is quite
  150.   flexible.
  151.  
  152.   A typical configuration will have LILO stop and print LILO: shortly
  153.   after you turn on your computer. It will then wait for a few seconds
  154.   for any optional input from the user, and failing that it will then
  155.   boot the default system. Typical system labels that people use in the
  156.   LILO configuration files are linux and backup and msdos. If you want
  157.   to type in a boot argument, you type it in here, after typing in the
  158.   system label that you want LILO to boot from, as shown in the example
  159.   below.
  160.  
  161.   ______________________________________________________________________
  162.           LILO: linux vga=ask
  163.   ______________________________________________________________________
  164.  
  165.   LILO comes with excellent documentation, and for the purposes of boot
  166.   args discussed here, the LILO append= command is of significant
  167.   importance when one wants to add a boot time argument as a permanent
  168.   addition to the LILO config file.  You simply add something like
  169.   append = "vga=ask" to the /etc/lilo.conf file. It can either be added
  170.   at the top of the config file, making it apply to all sections, or to
  171.   a single system section by adding it inside an image= section.  Please
  172.   see the LILO documentation for a more complete description.
  173.  
  174.   2.2.  LoadLin
  175.  
  176.   The other commonly used Linux loader is `LoadLin' which is a DOS
  177.   program that has the capability to launch a Linux kernel from the DOS
  178.   prompt (with boot-args) assuming that certain resources are available.
  179.   This is good for people that use DOS and want to launch into Linux
  180.   from DOS.
  181.  
  182.   It is also very useful if you have certain hardware which relies on
  183.   the supplied DOS driver to put the hardware into a known state. A
  184.   common example is `SoundBlaster Compatible' sound cards that require
  185.   the DOS driver to twiddle a few mystical registers to put the card
  186.   into a SB compatible mode. Booting DOS with the supplied driver, and
  187.   then loading Linux from the DOS prompt with loadlin avoids the reset
  188.   of the card that happens if one rebooted instead. Thus the card is
  189.   left in a Sb compatible mode and hence is useable under Linux.
  190.  
  191.   There are also other programs that can be used to boot Linux.  For a
  192.   complete list, please look at the programs available on your local
  193.   Linux ftp mirror, under system/Linux-boot/.
  194.  
  195.   2.3.  The ``rdev'' utility
  196.  
  197.   There are a few of the kernel boot parameters that have their default
  198.   values stored in various bytes in the kernel image itself.  There is a
  199.   utility called rdev that is installed on most systems that knows where
  200.   these values are, and how to change them.  It can also change things
  201.   that have no kernel boot argument equivalent, such as the default
  202.   video mode used.
  203.  
  204.   The rdev utility is usually also aliased to swapdev, ramsize, vidmode
  205.   and rootflags. These are the five things that rdev can change, those
  206.   being the root device, the swap device, the RAM disk size, the default
  207.   video mode, and the readonly/readwrite setting of root device.
  208.  
  209.   More information on rdev can be found by typing rdev -h or by reading
  210.   the supplied man page (man rdev).
  211.  
  212.   2.4.  How the Kernel Sorts the Arguments
  213.  
  214.   Most of the boot args take the form of:
  215.  
  216.   ______________________________________________________________________
  217.           name[=value_1][,value_2]...[,value_11]
  218.   ______________________________________________________________________
  219.  
  220.   where `name' is a unique keyword that is used to identify what part of
  221.   the kernel the associated values (if any) are to be given to. Multiple
  222.   boot args are just a space separated list of the above format. Note
  223.   the limit of 11 is real, as the present code only handles 11 comma
  224.   separated parameters per keyword. (However, you can re-use the same
  225.   keyword with up to an additional 11 parameters in unusually
  226.   complicated situations, assuming the setup function supports it.)
  227.   Also note that the kernel splits the list into a maximum of ten
  228.   integer arguments, and a following string, so you can't really supply
  229.   11 integers unless you convert the 11th arg from a string to an int in
  230.   the driver itself.
  231.  
  232.   Most of the sorting goes on in linux/init/main.c.  First, the kernel
  233.   checks to see if the argument is any of the special arguments `root=',
  234.   `ro', `rw', or `debug'.  The meaning of these special arguments is
  235.   described further on in the document.
  236.  
  237.   Then it walks a list of setup functions (contained in the bootsetups
  238.   array) to see if the specified argument string (such as `foo') has
  239.   been associated with a setup function (foo_setup()) for a particular
  240.   device or part of the kernel. If you passed the kernel the line
  241.   foo=3,4,5,6,bar then the kernel would search the bootsetups array to
  242.   see if `foo' was registered. If it was, then it would call the setup
  243.   function associated with `foo' (foo_setup()) and hand it the integer
  244.   arguments 3, 4, 5 and 6 as given on the kernel command line, and also
  245.   hand it the string argument bar.
  246.  
  247.   2.5.  Setting Environment Variables.
  248.  
  249.   Anything of the form `foo=bar' that is not accepted as a setup
  250.   function as described above is then interpreted as an environment
  251.   variable to be set. A (useless?) example would be to use `TERM=vt100'
  252.   as a boot argument.
  253.  
  254.   2.6.  Passing Arguments to the `init' program
  255.  
  256.   Any remaining arguments that were not picked up by the kernel and were
  257.   not interpreted as environment variables are then passed onto process
  258.   one, which is usually the init program. The most common argument that
  259.   is passed to the init process is the word single which instructs init
  260.   to boot the computer in single user mode, and not launch all the usual
  261.   daemons. Check the manual page for the version of init installed on
  262.   your system to see what arguments it accepts.
  263.  
  264.   3.  General Non-Device Specific Boot Args
  265.  
  266.   These are the boot arguments that are not related to any specific
  267.   device or peripheral. They are instead related to certain internal
  268.   kernel parameters, such as memory handling, ramdisk handling, root
  269.   file system handling and others.
  270.  
  271.   3.1.  Root Filesystem options
  272.  
  273.   The following options all pertain to how the kernel selects and
  274.   handles the root filesystem.
  275.  
  276.   3.1.1.  The `root=' Argument
  277.  
  278.   This argument tells the kernel what device is to be used as the root
  279.   filesystem while booting. The default of this setting is the value of
  280.   the root device of the system that the kernel was built on.  For
  281.   example, if the kernel in question was built on a system that used
  282.   `/dev/hda1' as the root partition, then the default root device would
  283.   be `/dev/hda1'.  To override this default value, and select the second
  284.   floppy drive as the root device, one would use `root=/dev/fd1'.
  285.  
  286.   Valid root devices are any of the following devices:
  287.  
  288.   (1) /dev/hdaN to /dev/hddN, which is partition N on ST-506 compatible
  289.   disk `a to d'.
  290.  
  291.   (2) /dev/sdaN to /dev/sdeN, which is partition N on SCSI compatible
  292.   disk `a to e'.
  293.  
  294.   (3) /dev/xdaN to /dev/xdbN, which is partition N on XT compatible disk
  295.   `a to b'.
  296.  
  297.   (4) /dev/fdN, which is floppy disk drive number N. Having N=0 would be
  298.   the DOS `A:' drive, and N=1 would be `B:'.
  299.  
  300.   (5) /dev/nfs, which is not really a device, but rather a flag to tell
  301.   the kernel to get the root fs via the network.
  302.  
  303.   The more awkward and less portable numeric specification of the above
  304.   possible disk devices in major/minor format is also accepted. (e.g.
  305.   /dev/sda3 is major 8, minor 3, so you could use root=0x803 as an
  306.   alternative.)
  307.  
  308.   This is one of the few kernel boot arguments that has its default
  309.   stored in the kernel image, and which can thus be altered with the
  310.   rdev utility.
  311.  
  312.   3.1.2.  The `ro' Argument
  313.  
  314.   When the kernel boots, it needs a root filesystem to read basic things
  315.   off of. This is the root filesystem that is mounted at boot. However,
  316.   if the root filesystem is mounted with write access, you can not
  317.   reliably check the filesystem integrity with half-written files in
  318.   progress. The `ro' option tells the kernel to mount the root
  319.   filesystem as `readonly' so that any filesystem consistency check
  320.   programs (fsck) can safely assume that there are no half-written files
  321.   in progress while performing the check. No programs or processes can
  322.   write to files on the filesystem in question until it is `remounted'
  323.   as read/write capable.
  324.  
  325.   This is one of the few kernel boot arguments that has its default
  326.   stored in the kernel image, and which can thus be altered with the
  327.   rdev utility.
  328.  
  329.   3.1.3.  The `rw' Argument
  330.  
  331.   This is the exact opposite of the above, in that it tells the kernel
  332.   to mount the root filesystem as read/write. The default is to mount
  333.   the root filesystem as read/write anyway. Do not run any `fsck' type
  334.   programs on a filesystem that is mounted read/write.
  335.  
  336.   The same value stored in the image file mentioned above is also used
  337.   for this parameter, accessible via rdev.
  338.  
  339.   3.2.  Options Relating to RAM Disk Management
  340.  
  341.   The following options all relate to how the kernel handles the RAM
  342.   disk device, which is usually used for bootstrapping machines during
  343.   the install phase, or for machines with modular drivers that need to
  344.   be installed to access the root filesystem.
  345.  
  346.   3.2.1.  The `ramdisk_start=' Argument
  347.  
  348.   To allow a kernel image to reside on a floppy disk along with a
  349.   compressed ramdisk image, the `ramdisk_start=<offset>' command was
  350.   added. The kernel can't be included into the compressed ramdisk
  351.   filesystem image, because it needs to be stored starting at block zero
  352.   so that the BIOS can load the bootsector and then the kernel can
  353.   bootstrap itself to get going.
  354.  
  355.   Note: If you are using an uncompressed ramdisk image, then the kernel
  356.   can be a part of the filesystem image that is being loaded into the
  357.   ramdisk, and the floppy can be booted with LILO, or the two can be
  358.   separate as is done for the compressed images.
  359.  
  360.   If you are using a two-disk boot/root setup (kernel on disk 1, ramdisk
  361.   image on disk 2) then the ramdisk would start at block zero, and an
  362.   offset of zero would be used. Since this is the default value, you
  363.   would not need to actually use the command at all.
  364.  
  365.   3.2.2.  The `load_ramdisk=' Argument
  366.  
  367.   This parameter tells the kernel whether it is to try to load a ramdisk
  368.   image or not. Specifying `load_ramdisk=1' will tell the kernel to load
  369.   a floppy into the ramdisk. The default value is zero, meaning that the
  370.   kernel should not try to load a ramdisk.
  371.  
  372.   Please see the file linux/Documentation/ramdisk.txt for a complete
  373.   description of the new boot time arguments, and how to use them. A
  374.   description of how this parameter can be set and stored in the kernel
  375.   image via `rdev' is also described.
  376.  
  377.   3.2.3.  The `prompt_ramdisk=' Argument
  378.  
  379.   This parameter tells the kernel whether or not to give you a prompt
  380.   asking you to insert the floppy containing the ramdisk image. In a
  381.   single floppy configuration the ramdisk image is on the same floppy as
  382.   the kernel that just finished loading/booting and so a prompt is not
  383.   needed. In this case one can use `prompt_ramdisk=0'. In a two floppy
  384.   configuration, you will need the chance to switch disks, and thus
  385.   `prompt_ramdisk=1' can be used. Since this is the default value, it
  386.   doesn't really need to be specified. ( (Historical note: Sneaky people
  387.   used to use the `vga=ask' boot arg.  to temporarily pause the boot
  388.   process and allow a chance to switch from boot to root floppy.)
  389.  
  390.   Please see the file linux/Documentation/ramdisk.txt for a complete
  391.   description of the new boot time arguments, and how to use them. A
  392.   description of how this parameter can be set and stored in the kernel
  393.   image via `rdev' is also described.
  394.  
  395.   3.2.4.  The `ramdisk_size=' Argument
  396.  
  397.   While it is true that the ramdisk grows dynamically as required, there
  398.   is an upper bound on its size so that it doesn't consume all available
  399.   RAM and leave you in a mess. The default is 4096 (i.e. 4MB) which
  400.   should be large enough for most needs. You can override the default to
  401.   a bigger or smaller size with this boot argument.
  402.  
  403.   Please see the file linux/Documentation/ramdisk.txt for a complete
  404.   description of the new boot time arguments, and how to use them. A
  405.   description of how this parameter can be set and stored in the kernel
  406.   image via `rdev' is also described.
  407.  
  408.   3.2.5.  The `ramdisk=' Argument (obsolete)
  409.  
  410.   (NOTE: This argument is obsolete, and should not be used except on
  411.   kernels v1.3.47 and older. The commands that should be used for the
  412.   ramdisk device are documented above.)
  413.  
  414.   This specifies the size in kB of the RAM disk device.  For example, if
  415.   one wished to have a root filesystem on a 1.44MB floppy loaded into
  416.   the RAM disk device, they would use:
  417.  
  418.   ______________________________________________________________________
  419.           ramdisk=1440
  420.   ______________________________________________________________________
  421.  
  422.   This is one of the few kernel boot arguments that has its default
  423.   stored in the kernel image, and which can thus be altered with the
  424.   rdev utility.
  425.  
  426.   3.2.6.  The `noinitrd' (initial RAM disk) Argument
  427.  
  428.   The v2.x and newer kernels have a feature where the root filesystem is
  429.   initially a RAM disk, and the kernel executes /linuxrc on that RAM
  430.   image. This feature is typically used to allow loading of modules
  431.   needed to mount the real root filesystem (e.g. load the SCSI driver
  432.   modules stored in the RAM disk image, and then mount the real root
  433.   filesystem on a SCSI disk.)
  434.  
  435.   The actual `noinitrd' argument determines what happens to the initrd
  436.   data after the kernel has booted.  When specified, instead of
  437.   converting it to a RAM disk, it is accessible via /dev/initrd, which
  438.   can be read once before the RAM is released back to the system. For
  439.   full details on using the initial RAM disk, please consult
  440.   linux/Documentation/initrd.txt. In addition, the most recent versions
  441.   of LILO and LOADLIN should have additional useful information.
  442.  
  443.   3.3.  Boot Arguments Related to Memory Handling
  444.  
  445.   The following arguments alter how linux detects or handles the
  446.   physical and virtual memory of your system.
  447.  
  448.   3.3.1.  The `mem=' Argument
  449.  
  450.   This argument has two purposes: The original purpose was to specify
  451.   the amount of installed memory (or a value less than that if you
  452.   wanted to limit the amount of memory available to linux). The second
  453.   (and hardly used) purpose is to specify mem=nopentium which tells the
  454.   linux kernel to not use the 4MB page table performance feature.
  455.  
  456.   The original BIOS call defined in the PC specification  that returns
  457.   the amount of installed memory was only designed to be able to report
  458.   up to 64MB. (Yes, another lack of foresight, just like the 1024
  459.   cylinder disks... sigh.) Linux uses this BIOS call at boot to
  460.   determine how much memory is installed.  If you have more than 64MB of
  461.   RAM installed, you can use this boot arg to tell Linux how much memory
  462.   you have.  Here is a quote from Linus on usage of the `mem='
  463.   parameter.
  464.  
  465.   ``The kernel will accept any `mem=xx' parameter you give it, and if it
  466.   turns out that you lied to it, it will crash horribly sooner or later.
  467.   The parameter indicates the highest addressable RAM address, so
  468.   `mem=0x1000000' means you have 16MB of memory, for example.  For a
  469.   96MB machine this would be `mem=0x6000000'.
  470.  
  471.   NOTE NOTE NOTE: some machines might use the top of memory for BIOS
  472.   cacheing or whatever, so you might not actually have up to the full
  473.   96MB addressable.  The reverse is also true: some chipsets will map
  474.   the physical memory that is covered by the BIOS area into the area
  475.   just past the top of memory, so the top-of-mem might actually be 96MB
  476.   + 384kB for example.  If you tell linux that it has more memory than
  477.   it actually does have, bad things will happen: maybe not at once, but
  478.   surely eventually.''
  479.  
  480.   Note that the argument does not have to be in hex, and the suffixes
  481.   `k' and `M' (case insensitive) can be used to specify kilobytes and
  482.   Megabytes, respectively. (A `k' will cause a 10 bit shift on your
  483.   value, and a `M' will cause a 20 bit shift.)  The above warning still
  484.   holds, in that a 96MB machine may work with mem=97920k but fail with
  485.   either mem=98304k or mem=96M.
  486.  
  487.   3.3.2.  The `swap=' Argument
  488.  
  489.   This allows the user to tune some of the virtual memory (VM)
  490.   parameters that are related to swapping to disk. It accepts the
  491.   following eight parameters:
  492.  
  493.   ______________________________________________________________________
  494.           MAX_PAGE_AGE
  495.           PAGE_ADVANCE
  496.           PAGE_DECLINE
  497.           PAGE_INITIAL_AGE
  498.           AGE_CLUSTER_FRACT
  499.           AGE_CLUSTER_MIN
  500.           PAGEOUT_WEIGHT
  501.           BUFFEROUT_WEIGHT
  502.   ______________________________________________________________________
  503.  
  504.   Interested hackers are advised to have a read of linux/mm/swap.c and
  505.   also make note of the goodies in /proc/sys/vm.
  506.  
  507.   3.3.3.  The `buff=' Argument
  508.  
  509.   Similar to the `swap=' argument, this allows the user to tune some of
  510.   the parameters related to buffer memory management.  It accepts the
  511.   following six parameters:
  512.  
  513.   ______________________________________________________________________
  514.           MAX_BUFF_AGE
  515.           BUFF_ADVANCE
  516.           BUFF_DECLINE
  517.           BUFF_INITIAL_AGE
  518.           BUFFEROUT_WEIGHT
  519.           BUFFERMEM_GRACE
  520.   ______________________________________________________________________
  521.  
  522.   Interested hackers are advised to have a read of linux/mm/swap.c and
  523.   also make note of the goodies in /proc/sys/vm.
  524.  
  525.   3.4.  Boot Arguments for NFS Root Filesystem
  526.  
  527.   Linux supports systems such as diskless workstations via having their
  528.   root filesystem as NFS (Network FileSystem).  These arguments are used
  529.   to tell the diskless workstation which machine it is to get its system
  530.   from. Also note that the argument root=/dev/nfs is required. Detailed
  531.   information on using an NFS root fs is in the file
  532.   linux/Documentation/nfsroot.txt. You should read that file, as the
  533.   following is only a quick summary taken directly from that file.
  534.  
  535.   3.4.1.  The `nfsroot=' Argument
  536.  
  537.   This argument tells the kernel which machine, what directory and what
  538.   NFS options to use for the root filesystem. The form of the argument
  539.   is as follows:
  540.  
  541.   ______________________________________________________________________
  542.           nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
  543.   ______________________________________________________________________
  544.  
  545.   If the nfsroot parameter is not given on the command line, the default
  546.   `/tftpboot/%s' will be used. The other options are as follows:
  547.  
  548.   <server-ip> -- Specifies the IP address of the NFS server. If this
  549.   field is not given, the default address as determined by the nfsaddrs
  550.   variable (see below) is used. One use of this parameter is for example
  551.   to allow using different servers for RARP and NFS. Usually you can
  552.   leave this blank.
  553.  
  554.   <root-dir> -- Name of the directory on the server to mount as root. If
  555.   there is a `%s' token in the string, the token will be replaced by the
  556.   ASCII-representation of the client's IP address.
  557.  
  558.   <nfs-options> -- Standard NFS options. All options are separated by
  559.   commas.  If the options field is not given, the following defaults
  560.   will be used:
  561.  
  562.           port            = as given by server portmap daemon
  563.           rsize           = 1024
  564.           wsize           = 1024
  565.           timeo           = 7
  566.           retrans         = 3
  567.           acregmin        = 3
  568.           acregmax        = 60
  569.           acdirmin        = 30
  570.           acdirmax        = 60
  571.           flags           = hard, nointr, noposix, cto, ac
  572.  
  573.   3.4.2.  The `nfsaddrs=' Argument
  574.  
  575.   This boot argument sets up the various network interface addresses
  576.   that are required to communicate over the network. If this argument is
  577.   not given, then the kernel tries to use RARP and/or BOOTP to figure
  578.   out these parameters. The form is as follows:
  579.  
  580.   ______________________________________________________________________
  581.           nfsaddrs=<my-ip>:<serv-ip>:<gw-ip>:<netmask>:<name>:<dev>:<auto>
  582.   ______________________________________________________________________
  583.  
  584.   <my-ip> -- IP address of the client. If empty, the address will either
  585.   be determined by RARP or BOOTP. What protocol is used de- pends on
  586.   what has been enabled during kernel configuration and on the <auto>
  587.   parameter. If this parameter is not empty, neither RARP nor BOOTP will
  588.   be used.
  589.  
  590.   <serv-ip> -- IP address of the NFS server. If RARP is used to
  591.   determine the client address and this parameter is NOT empty only
  592.   replies from the specified server are accepted. To use different RARP
  593.   and NFS server, specify your RARP server here (or leave it blank), and
  594.   specify your NFS server in the nfsroot parameter (see above). If this
  595.   entry is blank the address of the server is used which answered the
  596.   RARP or BOOTP request.
  597.  
  598.   <gw-ip> -- IP address of a gateway if the server in on a different
  599.   subnet. If this entry is empty no gateway is used and the server is
  600.   assumed to be on the local network, unless a value has been received
  601.   by BOOTP.
  602.  
  603.   <netmask> -- Netmask for local network interface. If this is empty,
  604.   the netmask is derived from the client IP address, unless a value has
  605.   been received by BOOTP.
  606.  
  607.   <name> -- Name of the client. If empty, the client IP address is used
  608.   in ASCII-notation, or the value received by BOOTP.
  609.  
  610.   <dev> -- Name of network device to use. If this is empty, all devices
  611.   are used for RARP requests, and the first one found for BOOTP. For NFS
  612.   the device is used on which either RARP or BOOTP replies have been
  613.   received. If you only have one device you can safely leave this blank.
  614.  
  615.   <auto> -- Method to use for autoconfiguration. If this is either
  616.   `rarp' or `bootp' the specified protocol is being used.  If the value
  617.   is `both' or empty, both protocols are used so far as they have been
  618.   enabled during kernel configuration Using 'none' means no
  619.   autoconfiguration. In this case you have to specify all necessary
  620.   values in the fields before.
  621.   The <auto> parameter can appear alone as the value to the nfsaddrs
  622.   parameter (without all the `:' characters before) in which case
  623.   autoconfiguration is used. However, the `none' value is not available
  624.   in that case.
  625.  
  626.   3.5.  Other Misc. Kernel Boot Arguments
  627.  
  628.   These various boot arguments let the user tune certain internal kernel
  629.   parameters.
  630.  
  631.   3.5.1.  The `debug' Argument
  632.  
  633.   The kernel communicates important (and not-so important) messages to
  634.   the operator via the printk() function.  If the message is considered
  635.   important, the printk() function will put a copy on the present
  636.   console as well as handing it off to the klogd() facility so that it
  637.   gets logged to disk. The reason for printing important messages to the
  638.   console as well as logging them to disk is because under unfortunate
  639.   circumstances (e.g. a disk failure) the message won't make it to disk
  640.   and will be lost.
  641.  
  642.   The threshold for what is and what isn't considered important is set
  643.   by the console_loglevel variable. The default is to log anything more
  644.   important than DEBUG (level 7) to the console. (These levels are
  645.   defined in the include file kernel.h) Specifying debug as a boot
  646.   argument will set the console loglevel to 10, so that all kernel
  647.   messages appear on the console.
  648.  
  649.   The console loglevel can usually also be set at run time via an option
  650.   to the klogd() program. Check the man page for the version installed
  651.   on your system to see how to do this.
  652.  
  653.   3.5.2.  The `init=' Argument
  654.  
  655.   The kernel defaults to starting the `init' program at boot, which then
  656.   takes care of setting up the computer for users via launching getty
  657.   programs, running `rc' scripts and the like.  The kernel first looks
  658.   for /sbin/init, then /etc/init (depreciated), and as a last resort, it
  659.   will try to use /bin/sh (possibly on /etc/rc).  If for example, your
  660.   init program got corrupted and thus stopped you from being able to
  661.   boot, you could simply use the boot prompt init=/bin/sh which would
  662.   drop you directly into a shell at boot, allowing you to replace the
  663.   corrupted program.
  664.  
  665.   3.5.3.  The `no387' Argument
  666.  
  667.   Some i387 coprocessor chips have bugs that show up when used in 32 bit
  668.   protected mode. For example, some of the early ULSI-387 chips would
  669.   cause solid lockups while performing floating point calculations,
  670.   apparently due to a bug in the FRSAV/FRRESTOR instructions.  Using the
  671.   `no387' boot arg causes Linux to ignore the math coprocessor even if
  672.   you have one. Of course you must then have your kernel compiled with
  673.   math emulation support! This may also be useful if you have one of
  674.   those really old 386 machines that could use an 80287 FPU, as linux
  675.   can't use an 80287.
  676.  
  677.   3.5.4.  The `no-hlt' Argument
  678.  
  679.   The i386 (and successors thereof) family of CPUs have a `hlt'
  680.   instruction which tells the CPU that nothing is going to happen until
  681.   an external device (keyboard, modem, disk, etc.) calls upon the CPU to
  682.   do a task. This allows the CPU to enter a `low-power' mode where it
  683.   sits like a zombie until an external device wakes it up (usually via
  684.   an interrupt).  Some of the early i486DX-100 chips had a problem  with
  685.   the `hlt' instruction, in that they couldn't reliably return to
  686.   operating mode after this instruction was used. Using the `no-hlt'
  687.   instruction tells Linux to just run an infinite loop when there is
  688.   nothing else to do, and to not halt your CPU when there is no
  689.   activity. This allows people with these broken chips to use Linux,
  690.   although they would be well advised to seek a replacement through a
  691.   warranty where possible.
  692.  
  693.   3.5.5.  The `no-scroll' Argument
  694.  
  695.   Using this argument at boot disables scrolling features that make it
  696.   difficult to use Braille terminals.
  697.  
  698.   3.5.6.  The `panic=' Argument
  699.  
  700.   In the unlikely event of a kernel panic (i.e. an internal error that
  701.   has been detected by the kernel, and which the kernel decides is
  702.   serious enough to moan loudly and then halt everything), the default
  703.   behaviour is to just sit there until someone comes along and notices
  704.   the panic message on the screen and reboots the machine.  However if a
  705.   machine is running unattended in an isolated location it may be
  706.   desirable for it to automatically reset itself so that the machine
  707.   comes back on line. For example, using `panic=30' at boot would cause
  708.   the kernel to try and reboot itself 30 seconds after the kernel panic
  709.   happened. A value of zero gives the default behaviour, which is to
  710.   wait forever.
  711.  
  712.   Note that this timeout value can also be read and set via the
  713.   /proc/sys/kernel/panic sysctl interface.
  714.  
  715.   3.5.7.  The `profile=' Argument
  716.  
  717.   Kernel developers can enable an option that allows them to profile how
  718.   and where the kernel is spending its CPU cycles in an effort to
  719.   maximize efficiency and performance. This option lets you set the
  720.   profile shift count at boot. Typically it is set to two. Of course you
  721.   have to compile your kernel with profiling enabled, and get a tool
  722.   such as readprofile.c that can make use of /proc/profile.
  723.  
  724.   3.5.8.  The `reserve=' Argument
  725.  
  726.   This is used to protect I/O port regions from probes.  The form of the
  727.   command is:
  728.  
  729.        reserve=iobase,extent[,iobase,extent]...
  730.  
  731.   In some machines it may be necessary to prevent device drivers from
  732.   checking for devices (auto-probing) in a specific region. This may be
  733.   because of poorly designed hardware that causes the boot to freeze
  734.   (such as some ethercards), hardware that is mistakenly identified,
  735.   hardware whose state is changed by an earlier probe, or merely
  736.   hardware you don't want the kernel to initialize.
  737.  
  738.   The reserve boot-time argument addresses this problem by specifying an
  739.   I/O port region that shouldn't be probed. That region is reserved in
  740.   the kernel's port registration table as if a device has already been
  741.   found in that region. Note that this mechanism shouldn't be necessary
  742.   on most machines. Only when there is a problem or special case would
  743.   it be necessary to use this.
  744.  
  745.   The I/O ports in the specified region are protected against device
  746.   probes. This was put in to be used when some driver was hanging on a
  747.   NE2000, or misidentifying some other device as its own.  A correct
  748.   device driver shouldn't probe a reserved region, unless another boot
  749.   argument explicitly specifies that it do so.  This implies that
  750.   reserve will most often be used with some other boot argument. Hence
  751.   if you specify a reserve region to protect a specific device, you must
  752.   generally specify an explicit probe for that device. Most drivers
  753.   ignore the port registration table if they are given an explicit
  754.   address.
  755.  
  756.   For example, the boot line
  757.  
  758.   ______________________________________________________________________
  759.           reserve=0x300,32  blah=0x300
  760.   ______________________________________________________________________
  761.  
  762.   keeps all device drivers except the driver for `blah' from probing
  763.   0x300-0x31f.
  764.  
  765.   As usual with boot-time specifiers there is an 11 parameter limit,
  766.   thus you can only specify 5 reserved regions per reserve keyword.
  767.   Multiple reserve specifiers will work if you have an unusually
  768.   complicated request.
  769.  
  770.   3.5.9.  The `vga=' Argument
  771.  
  772.   This allows the setup code to use the video BIOS to change the default
  773.   display mode before actually booting the Linux kernel. Typical modes
  774.   are 80x50, 132x44 and so on. The best way to use this option is to
  775.   start with vga=ask which will prompt you with a list of various modes
  776.   that you can use with your video adapter before booting the kernel.
  777.   Once you have the number from the above list that you want to use, you
  778.   can later put it in place of the `ask'. For more information, please
  779.   see the file linux/Documentation/svga.txt that comes with all recent
  780.   kernel versions.
  781.  
  782.   4.  Boot Arguments for SCSI Peripherals.
  783.  
  784.   This section contains the descriptions of the boot args that are used
  785.   for passing information about the installed SCSI host adapters, and
  786.   SCSI devices.
  787.  
  788.   4.1.  Arguments for Mid-level Drivers
  789.  
  790.   The mid level drivers handle things like disks, CD-ROMs and tapes
  791.   without getting into host adapter specifics.
  792.  
  793.   4.1.1.  Maximum Probed LUNs (`max_scsi_luns=')
  794.  
  795.   Each SCSI device can have a number of `sub-devices' contained within
  796.   itself. The most common example is one of the new SCSI CD-ROMs that
  797.   handle more than one disk at a time.  Each CD is addressed as a
  798.   `Logical Unit Number' (LUN) of that particular device. But most
  799.   devices, such as hard disks, tape drives and such are only one device,
  800.   and will be assigned to LUN zero.
  801.  
  802.   The problem arises with single LUN devices with bad firmware.  Some
  803.   poorly designed SCSI devices (old and unfortunately new) can not
  804.   handle being probed for LUNs not equal to zero. They will respond by
  805.   locking up, and possibly taking the whole SCSI bus down with them.
  806.  
  807.   Newer kernels have the configuration option that allows you to set the
  808.   maximum number of probed LUNs. The default is to only probe LUN zero,
  809.   to avoid the problem described above.
  810.  
  811.   To specify the number of probed LUNs at boot, one enters
  812.   `max_scsi_luns=n' as a boot arg, where n is a number between one and
  813.   eight. To avoid problems as described above, one would use n=1 to
  814.   avoid upsetting such broken devices
  815.  
  816.   4.1.2.  Parameters for the SCSI Tape Driver (`st=')
  817.  
  818.   Some boot time configuration of the SCSI tape driver can be achieved
  819.   by using the following:
  820.  
  821.   ______________________________________________________________________
  822.           st=buf_size[,write_threshold[,max_bufs]]
  823.   ______________________________________________________________________
  824.  
  825.   The first two numbers are specified in units of kB.  The default
  826.   buf_size is 32kB, and the maximum size that can be specified is a
  827.   ridiculous 16384kB.  The write_threshold is the value at which the
  828.   buffer is committed to tape, with a default value of 30kB.  The
  829.   maximum number of buffers varies with the number of drives detected,
  830.   and has a default of two. An example usage would be:
  831.  
  832.   ______________________________________________________________________
  833.           st=32,30,2
  834.   ______________________________________________________________________
  835.  
  836.   Full details can be found in the README.st file that is in the scsi
  837.   directory of the kernel source tree.
  838.  
  839.   4.2.  Arguments for SCSI Host Adapters
  840.  
  841.   General notation for this section:
  842.  
  843.   iobase -- the first I/O port that the SCSI host occupies.  These are
  844.   specified in hexidecimal notation, and usually lie in the range from
  845.   0x200 to 0x3ff.
  846.  
  847.   irq -- the hardware interrupt that the card is configured to use.
  848.   Valid values will be dependent on the card in question, but will
  849.   usually be 5, 7, 9, 10, 11, 12, and 15. The other values are usually
  850.   used for common peripherals like IDE hard disks, floppies, serial
  851.   ports, etc.
  852.  
  853.   scsi-id -- the ID that the host adapter uses to identify itself on the
  854.   SCSI bus. Only some host adapters allow you to change this value, as
  855.   most have it permanently specified internally. The usual default value
  856.   is seven, but the Seagate and Future Domain TMC-950 boards use six.
  857.  
  858.   parity -- whether the SCSI host adapter expects the attached devices
  859.   to supply a parity value with all information exchanges.  Specifying a
  860.   one indicates parity checking is enabled, and a zero disables parity
  861.   checking. Again, not all adapters will support selection of parity
  862.   behaviour as a boot argument.
  863.  
  864.   4.2.1.  Adaptec aha151x, aha152x, aic6260, aic6360, SB16-SCSI
  865.   (`aha152x=')
  866.  
  867.   The aha numbers refer to cards and the aic numbers refer to the actual
  868.   SCSI chip on these type of cards, including the Soundblaster-16 SCSI.
  869.  
  870.   The probe code for these SCSI hosts looks for an installed BIOS, and
  871.   if none is present, the probe will not find your card. Then you will
  872.   have to use a boot arg of the form:
  873.  
  874.   ______________________________________________________________________
  875.            aha152x=iobase[,irq[,scsi-id[,reconnect[,parity]]]]
  876.   ______________________________________________________________________
  877.  
  878.   Note that if the driver was compiled with debugging enabled, a sixth
  879.   value can be specified to set the debug level.
  880.  
  881.   All the parameters are as described at the top of this section, and
  882.   the reconnect value will allow device disconnect/reconnect if a non-
  883.   zero value is used. An example usage is as follows:
  884.  
  885.   ______________________________________________________________________
  886.           aha152x=0x340,11,7,1
  887.   ______________________________________________________________________
  888.  
  889.   Note that the parameters must be specified in order, meaning that if
  890.   you want to specify a parity setting, then you will have to specify an
  891.   iobase, irq, scsi-id and reconnect value as well.
  892.  
  893.   4.2.2.  Adaptec aha154x (`aha1542=')
  894.  
  895.   These are the aha154x series cards. The aha1542 series cards have an
  896.   i82077 floppy controller onboard, while the aha1540 series cards do
  897.   not. These are busmastering cards, and have parameters to set the
  898.   ``fairness'' that is used to share the bus with other devices. The
  899.   boot arg looks like the following.
  900.  
  901.   ______________________________________________________________________
  902.           aha1542=iobase[,buson,busoff[,dmaspeed]]
  903.   ______________________________________________________________________
  904.  
  905.   Valid iobase values are usually one of: 0x130, 0x134, 0x230, 0x234,
  906.   0x330, 0x334.  Clone cards may permit other values.
  907.  
  908.   The buson, busoff values refer to the number of microseconds that the
  909.   card dominates the ISA bus. The defaults are 11us on, and 4us off, so
  910.   that other cards (such as an ISA LANCE Ethernet card) have a chance to
  911.   get access to the ISA bus.
  912.  
  913.   The dmaspeed value refers to the rate (in MB/s) at which the DMA
  914.   (Direct Memory Access) transfers proceed at. The default is 5MB/s.
  915.   Newer revision cards allow you to select this value as part of the
  916.   soft-configuration, older cards use jumpers. You can use values up to
  917.   10MB/s assuming that your motherboard is capable of handling it.
  918.   Experiment with caution if using values over 5MB/s.
  919.  
  920.   4.2.3.  Adaptec aha274x, aha284x, aic7xxx (`aic7xxx=')
  921.  
  922.   These boards can accept an argument of the form:
  923.  
  924.   ______________________________________________________________________
  925.           aic7xxx=extended,no_reset
  926.   ______________________________________________________________________
  927.  
  928.   The extended value, if non-zero, indicates that extended translation
  929.   for large disks is enabled. The no_reset value, if non-zero, tells the
  930.   driver not to reset the SCSI bus when setting up the host adaptor at
  931.   boot.
  932.  
  933.   4.2.4.  AdvanSys SCSI Host Adaptors (`advansys=')
  934.  
  935.   The AdvanSys driver can accept up to four i/o addresses that will be
  936.   probed for an AdvanSys SCSI card. Note that these values (if used) do
  937.   not effect EISA or PCI probing in any way.  They are only used for
  938.   probing ISA and VLB cards.  In addition, if the driver has been
  939.   compiled with debugging enabled, the level of debugging output can be
  940.   set by adding an 0xdeb[0-f] parameter. The 0-f allows setting the
  941.   level of the debugging messages to any of 16 levels of verbosity.
  942.  
  943.   4.2.5.  Always IN2000 Host Adaptor (`in2000=')
  944.  
  945.   Unlike other SCSI host boot arguments, the IN2000 driver uses ASCII
  946.   string prefixes for most of its integer arguments. Here is a list of
  947.   the supported arguments:
  948.  
  949.   ioport:addr -- Where addr is IO address of a (usually ROM-less) card.
  950.  
  951.   noreset -- No optional args. Prevents SCSI bus reset at boot time.
  952.  
  953.   nosync:x -- x is a bitmask where the 1st 7 bits correspond with the 7
  954.   possible SCSI devices (bit 0 for device #0, etc).  Set a bit to
  955.   PREVENT sync negotiation on that device.  The driver default is sync
  956.   DISABLED on all devices.
  957.  
  958.   period:ns -- ns is the minimum # of nanoseconds in a SCSI data
  959.   transfer period. Default is 500; acceptable values are 250 to 1000.
  960.  
  961.   disconnect:x -- x = 0 to never allow disconnects, 2 to always allow
  962.   them.  x = 1 does 'adaptive' disconnects, which is the default and
  963.   generally the best choice.
  964.  
  965.   debug:x If `DEBUGGING_ON' is defined, x is a bitmask that causes
  966.   various types of debug output to printed - see the DB_xxx defines in
  967.   in2000.h
  968.  
  969.   proc:x -- If `PROC_INTERFACE' is defined, x is a bitmask that
  970.   determines how the /proc interface works and what it does - see the
  971.   PR_xxx defines in in2000.h
  972.  
  973.   Some example usages are listed below:
  974.  
  975.   ______________________________________________________________________
  976.           in2000=ioport:0x220,noreset
  977.           in2000=period:250,disconnect:2,nosync:0x03
  978.           in2000=debug:0x1e
  979.           in2000=proc:3
  980.   ______________________________________________________________________
  981.  
  982.   4.2.6.  AMD AM53C974 based hardware (`AM53C974=')
  983.  
  984.   Unlike other drivers, this one does not use boot parameters to
  985.   communicate i/o, IRQ or DMA channels. (Since the AM53C974 is a PCI
  986.   device, there shouldn't be a need to do so.)  Instead, the parameters
  987.   are used to communicate the transfer modes and rates that are to be
  988.   used between the host and the target device. This is best described
  989.   with an example:
  990.  
  991.   ______________________________________________________________________
  992.           AM53C974=7,2,8,15
  993.   ______________________________________________________________________
  994.  
  995.   This would be interpreted as follows: `For communication between the
  996.   controller with SCSI-ID 7 and the device with SCSI-ID 2, a transfer
  997.   rate of 8MHz in synchronous mode with max. 15 bytes offset should be
  998.   negotiated.' More details can be found in the file
  999.   linux/drivers/scsi/README.AM53C974
  1000.  
  1001.   4.2.7.  BusLogic SCSI Hosts with v1.2 kernels (`buslogic=')
  1002.  
  1003.   In older kernels, the buslogic driver accepts only one parameter, that
  1004.   being the I/O base. It expects that to be one of the following valid
  1005.   values: 0x130, 0x134, 0x230, 0x234, 0x330, 0x334.
  1006.  
  1007.   4.2.8.  BusLogic SCSI Hosts with v2.x kernels (`BusLogic=')
  1008.  
  1009.   With v2.x kernels, the BusLogic driver accepts many parameters.  (Note
  1010.   the case in the above; upper case B and L!!!).  The following detailed
  1011.   description is taken directly from Leonard N. Zubkoff's driver as
  1012.   included in the v2.0 kernel.
  1013.  
  1014.   For the BusLogic driver, a Kernel command line entry comprises the
  1015.   driver identifier "BusLogic=" optionally followed by a comma-separated
  1016.   sequence of integers and then optionally followed by a comma-separated
  1017.   sequence of strings.  Each command line entry applies to one BusLogic
  1018.   Host Adapter.  Multiple command line entries may be used in systems
  1019.   which contain multiple BusLogic Host Adapters.
  1020.  
  1021.   The first integer specified is the I/O Address at which the Host
  1022.   Adapter is located.  If unspecified, it defaults to 0 which means to
  1023.   apply this entry to the first BusLogic Host Adapter found during the
  1024.   default probe sequence.  If any I/O Address parameters are provided on
  1025.   the command line, then the default probe sequence is omitted.
  1026.  
  1027.   The second integer specified is the Tagged Queue Depth to use for
  1028.   Target Devices that support Tagged Queuing.  The Queue Depth is the
  1029.   number of SCSI commands that are allowed to be concurrently presented
  1030.   for execution.  If unspecified, it defaults to 0 which means to use a
  1031.   value determined automatically based on the Host Adapter's Total Queue
  1032.   Depth and the number, type, speed, and capabilities of the detected
  1033.   Target Devices.  For Host Adapters that require ISA Bounce Buffers,
  1034.   the Tagged Queue Depth is automatically set to
  1035.   BusLogic_TaggedQueueDepth_BB to avoid excessive preallocation of DMA
  1036.   Bounce Buffer memory.  Target Devices that do not support Tagged
  1037.   Queuing use a Queue Depth of BusLogic_UntaggedQueueDepth.
  1038.  
  1039.   The third integer specified is the Bus Settle Time in seconds.  This
  1040.   is the amount of time to wait between a Host Adapter Hard Reset which
  1041.   initiates a SCSI Bus Reset and issuing any SCSI Commands.  If
  1042.   unspecified, it defaults to 0 which means to use the value of
  1043.   BusLogic_DefaultBusSettleTime.
  1044.  
  1045.   The fourth integer specified is the Local Options.  If unspecified, it
  1046.   defaults to 0.  Note that Local Options are only applied to a specific
  1047.   Host Adapter.
  1048.  
  1049.   The fifth integer specified is the Global Options.  If unspecified, it
  1050.   defaults to 0.  Note that Global Options are applied across all Host
  1051.   Adapters.
  1052.  
  1053.   The string options are used to provide control over Tagged Queuing,
  1054.   Error Recovery, and Host Adapter Probing.
  1055.  
  1056.   The Tagged Queuing specification begins with "TQ:" and allows for
  1057.   explicitly specifying whether Tagged Queuing is permitted on Target
  1058.   Devices that support it.  The following specification options are
  1059.   available:
  1060.  
  1061.   TQ:Default -- Tagged Queuing will be permitted based on the firmware
  1062.   version of the BusLogic Host Adapter and based on whether the Tagged
  1063.   Queue Depth value allows queuing multiple commands.
  1064.  
  1065.   TQ:Enable -- Tagged Queuing will be enabled for all Target Devices on
  1066.   this Host Adapter overriding any limitation that would otherwise be
  1067.   imposed based on the Host Adapter firmware version.
  1068.   TQ:Disable -- Tagged Queuing will be disabled for all Target Devices
  1069.   on this Host Adapter.
  1070.  
  1071.   TQ:<Per-Target-Spec> -- Tagged Queuing will be controlled individually
  1072.   for each Target Device. <Per-Target-Spec> is a sequence of "Y", "N",
  1073.   and "X" characters.  "Y" enabled Tagged Queuing, "N" disables Tagged
  1074.   Queuing, and "X" accepts the default based on the firmware version.
  1075.   The first character refers to Target Device 0, the second to Target
  1076.   Device 1, and so on; if the sequence of "Y", "N", and "X" characters
  1077.   does not cover all the Target Devices, unspecified characters are
  1078.   assumed to be "X".
  1079.  
  1080.   Note that explicitly requesting Tagged Queuing may lead to problems;
  1081.   this facility is provided primarily to allow disabling Tagged Queuing
  1082.   on Target Devices that do not implement it correctly.
  1083.  
  1084.   The Error Recovery Strategy specification begins with "ER:" and allows
  1085.   for explicitly specifying the Error Recovery action to be performed
  1086.   when ResetCommand is called due to a SCSI Command failing to complete
  1087.   successfully.  The following specification options are available:
  1088.  
  1089.   ER:Default -- Error Recovery will select between the Hard Reset and
  1090.   Bus Device Reset options based on the recommendation of the SCSI
  1091.   Subsystem.
  1092.  
  1093.   ER:HardReset -- Error Recovery will initiate a Host Adapter Hard Reset
  1094.   which also causes a SCSI Bus Reset.
  1095.  
  1096.   ER:BusDeviceReset -- Error Recovery will send a Bus Device Reset
  1097.   message to the individual Target Device causing the error.  If Error
  1098.   Recovery is again initiated for this Target Device and no SCSI Command
  1099.   to this Target Device has completed successfully since the Bus Device
  1100.   Reset message was sent, then a Hard Reset will be attempted.
  1101.  
  1102.   ER:None -- Error Recovery will be suppressed.  This option should only
  1103.   be selected if a SCSI Bus Reset or Bus Device Reset will cause the
  1104.   Target Device to fail completely and unrecoverably.
  1105.  
  1106.   ER:<Per-Target-Spec> -- Error Recovery will be controlled individually
  1107.   for each Target Device. <Per-Target-Spec> is a sequence of "D", "H",
  1108.   "B", and "N" characters.  "D" selects Default, "H" selects Hard Reset,
  1109.   "B" selects Bus Device Reset, and "N" selects None.  The first
  1110.   character refers to Target Device 0, the second to Target Device 1,
  1111.   and so on; if the sequence of "D", "H", "B", and "N" characters does
  1112.   not cover all the possible Target Devices, unspecified characters are
  1113.   assumed to be "D".
  1114.  
  1115.   The Host Adapter Probing specification comprises the following
  1116.   strings:
  1117.  
  1118.   NoProbe -- No probing of any kind is to be performed, and hence no
  1119.   BusLogic Host Adapters will be detected.
  1120.  
  1121.   NoProbeISA -- No probing of the standard ISA I/O Addresses will be
  1122.   done, and hence only PCI Host Adapters will be detected.
  1123.  
  1124.   NoSortPCI -- PCI Host Adapters will be enumerated in the order
  1125.   provided by the PCI BIOS, ignoring any setting of the AutoSCSI "Use
  1126.   Bus And Device # For PCI Scanning Seq." option.
  1127.  
  1128.   4.2.9.  Future Domain TMC-8xx, TMC-950 (`tmc8xx=')
  1129.  
  1130.   The probe code for these SCSI hosts looks for an installed BIOS, and
  1131.   if none is present, the probe will not find your card. Or, if the
  1132.   signature string of your BIOS is not recognized then it will also not
  1133.   be found. In either case, you will then have to use a boot arg of the
  1134.   form:
  1135.  
  1136.   ______________________________________________________________________
  1137.           tmc8xx=mem_base,irq
  1138.   ______________________________________________________________________
  1139.  
  1140.   The mem_base value is the value of the memory mapped I/O region that
  1141.   the card uses. This will usually be one of the following values:
  1142.   0xc8000, 0xca000, 0xcc000, 0xce000, 0xdc000, 0xde000.
  1143.  
  1144.   4.2.10.  IOMEGA Parallel Port / ZIP drive (`ppa=')
  1145.  
  1146.   This driver is for the IOMEGA Parallel Port SCSI adapter which is
  1147.   embedded into the IOMEGA ZIP drives. It may also work with the
  1148.   original IOMEGA PPA3 device. The boot argument for this driver is of
  1149.   the form:
  1150.  
  1151.   ______________________________________________________________________
  1152.           ppa=iobase,speed_high,speed_low,nybble
  1153.   ______________________________________________________________________
  1154.  
  1155.   with all but iobase being optionally specified values. If you wish to
  1156.   alter any of the three optional parameters, you are advised to read
  1157.   linux/drivers/scsi/README.ppa for details of what they control.
  1158.  
  1159.   4.2.11.  NCR5380 based controllers (`ncr5380=')
  1160.  
  1161.   Depending on your board, the 5380 can be either i/o mapped or memory
  1162.   mapped. (An address below 0x400 usually implies i/o mapping, but PCI
  1163.   and EISA hardware use i/o addresses above 0x3ff.) In either case, you
  1164.   specify the address, the IRQ value and the DMA channel value. An
  1165.   example for an i/o mapped card would be: ncr5380=0x350,5,3. If the
  1166.   card doesn't use interrupts, then an IRQ value of 255 (0xff) will
  1167.   disable interrupts. An IRQ value of 254 means to autoprobe. More
  1168.   details can be found in the file linux/drivers/scsi/README.g_NCR5380
  1169.  
  1170.   4.2.12.  NCR53c400 based controllers (`ncr53c400=')
  1171.  
  1172.   The generic 53c400 support is done with the same driver as the generic
  1173.   5380 support mentioned above. The boot argument is identical to the
  1174.   above with the exception that no DMA channel is used by the 53c400.
  1175.  
  1176.   4.2.13.  NCR53c406a based controllers (`ncr53c406a=')
  1177.  
  1178.   This driver uses a boot argument of the form:
  1179.  
  1180.   ______________________________________________________________________
  1181.           ncr53c406a=PORTBASE,IRQ,FASTPIO
  1182.   ______________________________________________________________________
  1183.  
  1184.   where the IRQ and FASTPIO parameters are optional. An interrupt value
  1185.   of zero disables the use of interrupts. Using a value of one for the
  1186.   FASTPIO parameter enables the use of insl and outsl instructions
  1187.   instead of the single-byte inb and outb instructions. The driver can
  1188.   also use DMA as a compile-time option.
  1189.  
  1190.   4.2.14.  Pro Audio Spectrum (`pas16=')
  1191.  
  1192.   The PAS16 uses a NCR5380 SCSI chip, and newer models support jumper-
  1193.   less configuration. The boot arg is of the form:
  1194.  
  1195.   ______________________________________________________________________
  1196.           pas16=iobase,irq
  1197.   ______________________________________________________________________
  1198.  
  1199.   The only difference is that you can specify an IRQ value of 255, which
  1200.   will tell the driver to work without using interrupts, albeit at a
  1201.   performance loss. The iobase is usually 0x388.
  1202.  
  1203.   4.2.15.  Seagate ST-0x (`st0x=')
  1204.  
  1205.   The probe code for these SCSI hosts looks for an installed BIOS, and
  1206.   if none is present, the probe will not find your card. Or, if the
  1207.   signature string of your BIOS is not recognized then it will also not
  1208.   be found. In either case, you will then have to use a boot arg of the
  1209.   form:
  1210.  
  1211.   ______________________________________________________________________
  1212.           st0x=mem_base,irq
  1213.   ______________________________________________________________________
  1214.  
  1215.   The mem_base value is the value of the memory mapped I/O region that
  1216.   the card uses. This will usually be one of the following values:
  1217.   0xc8000, 0xca000, 0xcc000, 0xce000, 0xdc000, 0xde000.
  1218.  
  1219.   4.2.16.  Trantor T128 (`t128=')
  1220.  
  1221.   These cards are also based on the NCR5380 chip, and accept the
  1222.   following options:
  1223.  
  1224.   ______________________________________________________________________
  1225.           t128=mem_base,irq
  1226.   ______________________________________________________________________
  1227.  
  1228.   The valid values for mem_base are as follows: 0xcc000, 0xc8000,
  1229.   0xdc000, 0xd8000.
  1230.  
  1231.   4.3.  SCSI Host Adapters that don't Accept Boot Args
  1232.  
  1233.   At present, the following SCSI cards do not make use of any boot-time
  1234.   parameters. In some cases, you can hard-wire values by directly
  1235.   editing the driver itself, if required.
  1236.  
  1237.           Adaptec aha1740,
  1238.           EATA-DMA, EATA-PIO,
  1239.           Future Domain 16xx,
  1240.           NCR53c7xx to NCR53c8xx,
  1241.           Qlogic,
  1242.           Ultrastor (incl. u?4f),
  1243.           Western Digital wd7000,
  1244.  
  1245.   5.  Hard Disks
  1246.  
  1247.   This section lists all the boot args associated with standard MFM/RLL,
  1248.   ST-506, XT, and IDE disk drive devices.  Note that both the IDE and
  1249.   the generic ST-506 HD driver both accept the `hd=' option.
  1250.  
  1251.   5.1.  IDE Disk/CD-ROM Driver Parameters
  1252.  
  1253.   The IDE driver accepts a number of parameters, which range from disk
  1254.   geometry specifications, to support for advanced or broken controller
  1255.   chips. The following is a summary of all the possible boot arguments.
  1256.   For full details, you really should consult the file ide.txt in the
  1257.   linux/Documentation directory.
  1258.  
  1259.   ______________________________________________________________________
  1260.  
  1261.    "hdx="  is recognized for all "x" from "a" to "h", such as "hdc".
  1262.    "idex=" is recognized for all "x" from "0" to "3", such as "ide1".
  1263.  
  1264.    "hdx=noprobe"          : drive may be present, but do not probe for it
  1265.    "hdx=none"             : drive is NOT present, ignore cmos and do not probe
  1266.    "hdx=nowerr"           : ignore the WRERR_STAT bit on this drive
  1267.    "hdx=cdrom"            : drive is present, and is a cdrom drive
  1268.    "hdx=cyl,head,sect"    : disk drive is present, with specified geometry
  1269.    "hdx=autotune"         : driver will attempt to tune interface speed
  1270.                                   to the fastest PIO mode supported,
  1271.                                   if possible for this drive only.
  1272.                                   Not fully supported by all chipset types,
  1273.                                   and quite likely to cause trouble with
  1274.                                   older/odd IDE drives.
  1275.  
  1276.    "idex=noprobe"         : do not attempt to access/use this interface
  1277.    "idex=base"            : probe for an interface at the addr specified,
  1278.                                   where "base" is usually 0x1f0 or 0x170
  1279.                                   and "ctl" is assumed to be "base"+0x206
  1280.    "idex=base,ctl"        : specify both base and ctl
  1281.    "idex=base,ctl,irq"    : specify base, ctl, and irq number
  1282.    "idex=autotune"        : driver will attempt to tune interface speed
  1283.                                   to the fastest PIO mode supported,
  1284.                                   for all drives on this interface.
  1285.                                   Not fully supported by all chipset types,
  1286.                                   and quite likely to cause trouble with
  1287.                                   older/odd IDE drives.
  1288.    "idex=noautotune"      : driver will NOT attempt to tune interface speed
  1289.                                   This is the default for most chipsets,
  1290.                                   except the cmd640.
  1291.    "idex=serialize"       : do not overlap operations on idex and ide(x^1)
  1292.   ______________________________________________________________________
  1293.  
  1294.   The following are valid ONLY on ide0, and the defaults for the
  1295.   base,ctl ports must not be altered.
  1296.  
  1297.   ______________________________________________________________________
  1298.  
  1299.    "ide0=dtc2278"         : probe/support DTC2278 interface
  1300.    "ide0=ht6560b"         : probe/support HT6560B interface
  1301.    "ide0=cmd640_vlb"      : *REQUIRED* for VLB cards with the CMD640 chip
  1302.                             (not for PCI -- automatically detected)
  1303.    "ide0=qd6580"          : probe/support qd6580 interface
  1304.    "ide0=ali14xx"         : probe/support ali14xx chipsets (ALI M1439/M1445)
  1305.    "ide0=umc8672"         : probe/support umc8672 chipsets
  1306.   ______________________________________________________________________
  1307.  
  1308.   Everything else is rejected with a "BAD OPTION" message.
  1309.  
  1310.   5.2.  Standard ST-506 Disk Driver Options (`hd=')
  1311.  
  1312.   The standard disk driver can accept geometry arguments for the disks
  1313.   similar to the IDE driver. Note however that it only expects three
  1314.   values (C/H/S) -- any more or any less and it will silently ignore
  1315.   you. Also, it only accepts `hd=' as an argument, i.e. `hda=', `hdb='
  1316.   and so on are not valid here. The format is as follows:
  1317.  
  1318.   ______________________________________________________________________
  1319.           hd=cyls,heads,sects
  1320.   ______________________________________________________________________
  1321.  
  1322.   If there are two disks installed, the above is repeated with the
  1323.   geometry parameters of the second disk.
  1324.  
  1325.   5.3.  XT Disk Driver Options (`xd=')
  1326.  
  1327.   If you are unfortunate enough to be using one of these old 8 bit cards
  1328.   that move data at a whopping 125kB/s then here is the scoop.  The
  1329.   probe code for these cards looks for an installed BIOS, and if none is
  1330.   present, the probe will not find your card. Or, if the signature
  1331.   string of your BIOS is not recognized then it will also not be found.
  1332.   In either case, you will then have to use a boot arg of the form:
  1333.  
  1334.   ______________________________________________________________________
  1335.           xd=type,irq,iobase,dma_chan
  1336.   ______________________________________________________________________
  1337.  
  1338.   The type value specifies the particular manufacturer of the card, and
  1339.   are as follows: 0=generic; 1=DTC; 2,3,4=Western Digital,
  1340.   5,6,7=Seagate; 8=OMTI. The only difference between multiple types from
  1341.   the same manufacturer is the BIOS string used for detection, which is
  1342.   not used if the type is specified.
  1343.  
  1344.   The xd_setup() function does no checking on the values, and assumes
  1345.   that you entered all four values. Don't disappoint it.  Here is an
  1346.   example usage for a WD1002 controller with the BIOS disabled/removed,
  1347.   using the `default' XT controller parameters:
  1348.  
  1349.   ______________________________________________________________________
  1350.           xd=2,5,0x320,3
  1351.   ______________________________________________________________________
  1352.  
  1353.   6.  CD-ROMs (Non-SCSI/ATAPI/IDE)
  1354.  
  1355.   This section lists all the possible boot args pertaining to CD-ROM
  1356.   devices. Note that this does not include SCSI or IDE/ATAPI CD-ROMs.
  1357.   See the appropriate section(s) for those types of CD-ROMs.
  1358.  
  1359.   Note that most of these CD-ROMs have documentation files that you
  1360.   should read, and they are all in one handy place:
  1361.   linux/Documentation/cdrom.
  1362.  
  1363.   6.1.  The Aztech Interface (`aztcd=')
  1364.  
  1365.   The syntax for this type of card is:
  1366.  
  1367.   ______________________________________________________________________
  1368.           aztcd=iobase[,magic_number]
  1369.   ______________________________________________________________________
  1370.  
  1371.   If you set the magic_number to 0x79 then the driver will try and run
  1372.   anyway in the event of an unknown firmware version. All other values
  1373.   are ignored.
  1374.  
  1375.   6.2.  The CDU-31A and CDU-33A Sony Interface (`cdu31a=')
  1376.  
  1377.   This CD-ROM interface is found on some of the Pro Audio Spectrum sound
  1378.   cards, and other Sony supplied interface cards.  The syntax is as
  1379.   follows:
  1380.  
  1381.   ______________________________________________________________________
  1382.           cdu31a=iobase,[irq[,is_pas_card]]
  1383.   ______________________________________________________________________
  1384.  
  1385.   Specifying an IRQ value of zero tells the driver that hardware
  1386.   interrupts aren't supported (as on some PAS cards). If your card
  1387.   supports interrupts, you should use them as it cuts down on the CPU
  1388.   usage of the driver.
  1389.  
  1390.   The `is_pas_card' should be entered as `PAS' if using a Pro Audio
  1391.   Spectrum card, and otherwise it should not be specified at all.
  1392.  
  1393.   6.3.  The CDU-535 Sony Interface (`sonycd535=')
  1394.  
  1395.   The syntax for this CD-ROM interface is:
  1396.  
  1397.   ______________________________________________________________________
  1398.           sonycd535=iobase[,irq]
  1399.   ______________________________________________________________________
  1400.  
  1401.   A zero can be used for the I/O base as a `placeholder' if one wishes
  1402.   to specify an IRQ value.
  1403.  
  1404.   6.4.  The GoldStar Interface (`gscd=')
  1405.  
  1406.   The syntax for this CD-ROM interface is:
  1407.  
  1408.   ______________________________________________________________________
  1409.           gscd=iobase
  1410.   ______________________________________________________________________
  1411.  
  1412.   6.5.  The ISP16 Interface (`isp16=')
  1413.  
  1414.   The syntax for this CD-ROM interface is:
  1415.  
  1416.   ______________________________________________________________________
  1417.           isp16=[port[,irq[,dma]]][[,]drive_type]
  1418.   ______________________________________________________________________
  1419.  
  1420.   Using a zero for irq or dma means that they are not used. The
  1421.   allowable values for drive_type are noisp16, Sanyo, Panasonic, Sony,
  1422.   and Mitsumi.  Using noisp16 disables the driver altogether.
  1423.  
  1424.   6.6.  The Mitsumi Standard Interface (`mcd=')
  1425.  
  1426.   The syntax for this CD-ROM interface is:
  1427.  
  1428.   ______________________________________________________________________
  1429.           mcd=iobase,[irq[,wait_value]]
  1430.   ______________________________________________________________________
  1431.  
  1432.   The wait_value is used as an internal timeout value for people who are
  1433.   having problems with their drive, and may or may not be implemented
  1434.   depending on a compile time DEFINE.
  1435.  
  1436.   6.7.  The Mitsumi XA/MultiSession Interface (`mcdx=')
  1437.  
  1438.   At present this `experimental' driver has a setup function, but no
  1439.   parameters are implemented yet (as of 1.3.15).  This is for the same
  1440.   hardware as above, but the driver has extended features.
  1441.  
  1442.   6.8.  The Optics Storage Interface (`optcd=')
  1443.  
  1444.   The syntax for this type of card is:
  1445.  
  1446.   ______________________________________________________________________
  1447.           optcd=iobase
  1448.   ______________________________________________________________________
  1449.  
  1450.   6.9.  The Phillips CM206 Interface (`cm206=')
  1451.  
  1452.   The syntax for this type of card is:
  1453.  
  1454.   ______________________________________________________________________
  1455.           cm206=[iobase][,irq]
  1456.   ______________________________________________________________________
  1457.  
  1458.   The driver assumes numbers between 3 and 11 are IRQ values, and
  1459.   numbers between 0x300 and 0x370 are I/O ports, so you can specify one,
  1460.   or both numbers, in any order.  It also accepts `cm206=auto' to enable
  1461.   autoprobing.
  1462.  
  1463.   6.10.  The Sanyo Interface (`sjcd=')
  1464.  
  1465.   The syntax for this type of card is:
  1466.  
  1467.   ______________________________________________________________________
  1468.           sjcd=iobase[,irq[,dma_channel]]
  1469.   ______________________________________________________________________
  1470.  
  1471.   6.11.  The SoundBlaster Pro Interface (`sbpcd=')
  1472.  
  1473.   The syntax for this type of card is:
  1474.  
  1475.   ______________________________________________________________________
  1476.           sbpcd=iobase,type
  1477.   ______________________________________________________________________
  1478.  
  1479.   where type is one of the following (case sensitive) strings:
  1480.   `SoundBlaster', `LaserMate', or `SPEA'.  The I/O base is that of the
  1481.   CD-ROM interface, and not that of the sound portion of the card.
  1482.  
  1483.   7.  Other Hardware Devices
  1484.  
  1485.   Any other devices that didn't fit into any of the above categories got
  1486.   lumped together here.
  1487.  
  1488.   7.1.  Ethernet Devices (`ether=')
  1489.  
  1490.   Different drivers make use of different parameters, but they all at
  1491.   least share having an IRQ, an I/O port base value, and a name. In its
  1492.   most generic form, it looks something like this:
  1493.  
  1494.   ______________________________________________________________________
  1495.           ether=irq,iobase[,param_1[,param_2,...param_8]]],name
  1496.   ______________________________________________________________________
  1497.  
  1498.   The first non-numeric argument is taken as the name.  The param_n
  1499.   values (if applicable) usually have different meanings for each
  1500.   different card/driver.  Typical param_n values are used to specify
  1501.   things like shared memory address, interface selection, DMA channel
  1502.   and the like.
  1503.  
  1504.   The most common use of this parameter is to force probing for a second
  1505.   ethercard, as the default is to only probe for one. This can be
  1506.   accomplished with a simple:
  1507.  
  1508.   ______________________________________________________________________
  1509.           ether=0,0,eth1
  1510.   ______________________________________________________________________
  1511.  
  1512.   Note that the values of zero for the IRQ and I/O base in the above
  1513.   example tell the driver(s) to autoprobe.
  1514.  
  1515.   Note that the Ethernet-HowTo has complete and extensive documentation
  1516.   on using multiple cards and on the card/driver specific implementation
  1517.   of the param_n values where used. Interested readers should refer to
  1518.   the section in that document on their particular card for more
  1519.   complete information.
  1520.  
  1521.   7.2.  The Floppy Disk Driver (`floppy=')
  1522.  
  1523.   There are many floppy driver options, and they are all listed in
  1524.   README.fd in linux/drivers/block. This information is taken directly
  1525.   from that file.
  1526.  
  1527.   floppy=mask,allowed_drive_mask
  1528.  
  1529.   Sets the bitmask of allowed drives to mask. By default, only units 0
  1530.   and 1 of each floppy controller are allowed. This is done because
  1531.   certain non-standard hardware (ASUS PCI motherboards) mess up the
  1532.   keyboard when accessing units 2 or 3. This option is somewhat
  1533.   obsoleted by the cmos option.
  1534.  
  1535.   floppy=all_drives
  1536.  
  1537.   Sets the bitmask of allowed drives to all drives. Use this if you have
  1538.   more than two drives connected to a floppy controller.
  1539.  
  1540.   floppy=asus_pci
  1541.  
  1542.   Sets the bitmask to allow only units 0 and 1. (The default)
  1543.  
  1544.   floppy=daring
  1545.  
  1546.   Tells the floppy driver that you have a well behaved floppy
  1547.   controller.  This allows more efficient and smoother operation, but
  1548.   may fail on certain controllers. This may speed up certain operations.
  1549.  
  1550.   floppy=0,daring
  1551.  
  1552.   Tells the floppy driver that your floppy controller should be used
  1553.   with caution.
  1554.  
  1555.   floppy=one_fdc
  1556.  
  1557.   Tells the floppy driver that you have only floppy controller (default)
  1558.  
  1559.   floppy=two_fdc or floppy=address,two_fdc
  1560.  
  1561.   Tells the floppy driver that you have two floppy controllers. The
  1562.   second floppy controller is assumed to be at address. If address is
  1563.   not given, 0x370 is assumed.
  1564.  
  1565.   floppy=thinkpad
  1566.  
  1567.   Tells the floppy driver that you have a Thinkpad. Thinkpads use an
  1568.   inverted convention for the disk change line.
  1569.   floppy=0,thinkpad
  1570.  
  1571.   Tells the floppy driver that you don't have a Thinkpad.
  1572.  
  1573.   floppy=drive,type,cmos
  1574.  
  1575.   Sets the cmos type of drive to type.  Additionally, this drive is
  1576.   allowed in the bitmask. This is useful if you have more than two
  1577.   floppy drives (only two can be described in the physical cmos), or if
  1578.   your BIOS uses non-standard CMOS types.  Setting the CMOS to 0 for the
  1579.   first two drives (default) makes the floppy driver read the physical
  1580.   cmos for those drives.
  1581.  
  1582.   floppy=unexpected_interrupts
  1583.  
  1584.   Print a warning message when an unexpected interrupt is received
  1585.   (default behaviour)
  1586.  
  1587.   floppy=no_unexpected_interrupts or floppy=L40SX
  1588.  
  1589.   Don't print a message when an unexpected interrupt is received. This
  1590.   is needed on IBM L40SX laptops in certain video modes. (There seems to
  1591.   be an interaction between video and floppy. The unexpected interrupts
  1592.   only affect performance, and can safely be ignored.)
  1593.  
  1594.   7.3.  The Sound Driver (`sound=')
  1595.  
  1596.   The sound driver can also accept boot args to override the compiled in
  1597.   values. This is not recommended, as it is rather complex. It is
  1598.   described in the Readme.Linux file, in linux/drivers/sound. It accepts
  1599.   a boot arg of the form:
  1600.  
  1601.   ______________________________________________________________________
  1602.           sound=device1[,device2[,device3...[,device11]]]
  1603.   ______________________________________________________________________
  1604.  
  1605.   where each deviceN value is of the following format 0xTaaaId and the
  1606.   bytes are used as follows:
  1607.  
  1608.   T - device type: 1=FM, 2=SB, 3=PAS, 4=GUS, 5=MPU401, 6=SB16,
  1609.   7=SB16-MPU401
  1610.  
  1611.   aaa - I/O address in hex.
  1612.  
  1613.   I - interrupt line in hex (i.e 10=a, 11=b, ...)
  1614.  
  1615.   d - DMA channel.
  1616.  
  1617.   As you can see it gets pretty messy, and you are better off to compile
  1618.   in your own personal values as recommended. Using a boot arg of
  1619.   `sound=0' will disable the sound driver entirely.
  1620.  
  1621.   7.4.  The Bus Mouse Driver (`bmouse=')
  1622.  
  1623.   The busmouse driver only accepts one parameter, that being the
  1624.   hardware IRQ value to be used.
  1625.  
  1626.   7.5.  The MS Bus Mouse Driver (`msmouse=')
  1627.  
  1628.   The MS mouse driver only accepts one parameter, that being the
  1629.   hardware IRQ value to be used.
  1630.  
  1631.   7.6.  The Printer Driver (`lp=')
  1632.  
  1633.   As of kernels newer than 1.3.75, you can tell the printer driver what
  1634.   ports to use and what ports not to use. The latter comes in handy if
  1635.   you don't want the printer driver to claim all available parallel
  1636.   ports, so that other drivers (e.g. PLIP, PPA) can use them instead.
  1637.  
  1638.   The format of the argument is multiple i/o, IRQ pairs. For example,
  1639.   lp=0x3bc,0,0x378,7 would use the port at 0x3bc in IRQ-less (polling)
  1640.   mode, and use IRQ 7 for the port at 0x378. The port at 0x278 (if any)
  1641.   would not be probed, since autoprobing only takes place in the absence
  1642.   of a `lp=' argument. To disable the printer driver entirely, one can
  1643.   use lp=0.
  1644.  
  1645.   7.7.  The ICN ISDN driver (`icn=')
  1646.  
  1647.   This ISDN driver expects a boot argument of the form:
  1648.  
  1649.   ______________________________________________________________________
  1650.           icn=iobase,membase,icn_id1,icn_id2
  1651.   ______________________________________________________________________
  1652.  
  1653.   where iobase is the i/o port address of the card, membase is the
  1654.   shared memory base address of the card, and the two icn_id are unique
  1655.   ASCII string identifiers.
  1656.  
  1657.   7.8.  The PCBIT ISDN driver (`pcbit=')
  1658.  
  1659.   This boot argument takes integer pair arguments of the form:
  1660.  
  1661.   ______________________________________________________________________
  1662.           pcbit=membase1,irq1[,membase2,irq2]
  1663.   ______________________________________________________________________
  1664.  
  1665.   where membaseN is the shared memory base of the N'th card, and irqN is
  1666.   the interrupt setting of the N'th card. The default is IRQ 5 and
  1667.   membase 0xD0000.
  1668.  
  1669.   7.9.  The Teles ISDN driver (`teles=')
  1670.  
  1671.   This ISDN driver expects a boot argument of the form:
  1672.  
  1673.   ______________________________________________________________________
  1674.           teles=iobase,irq,membase,protocol,teles_id
  1675.   ______________________________________________________________________
  1676.  
  1677.   where iobase is the i/o port address of the card, membase is the
  1678.   shared memory base address of the card, irq is the interrupt channel
  1679.   the card uses, and teles_id is the unique ASCII string identifier.
  1680.  
  1681.   7.10.  The DigiBoard Driver (`digi=')
  1682.  
  1683.   The DigiBoard driver accepts a string of six comma separated
  1684.   identifiers or integers.  The 6 values in order are:
  1685.  
  1686.           Enable/Disable this card
  1687.           Type of card: PC/Xi(0), PC/Xe(1), PC/Xeve(2), PC/Xem(3)
  1688.           Enable/Disable alternate pin arrangement
  1689.           Number of ports on this card
  1690.           I/O Port where card is configured (in HEX if using string identifiers)
  1691.           Base of memory window (in HEX if using string identifiers)
  1692.  
  1693.   An example of a correct boot prompt argument (in both identifier and
  1694.   integer form) is:
  1695.  
  1696.   ______________________________________________________________________
  1697.           digi=E,PC/Xi,D,16,200,D0000
  1698.           digi=1,0,0,16,512,851968
  1699.   ______________________________________________________________________
  1700.  
  1701.   Note that the driver defaults to an i/o of 0x200 and a shared memory
  1702.   base of 0xD0000 in the absence of a digi= boot argument.  There is no
  1703.   autoprobing performed. More details can be found in the file
  1704.   linux/Documentation/digiboard.txt.
  1705.  
  1706.   7.11.  The RISCom/8 Multiport Serial Driver (`riscom8=')
  1707.  
  1708.   Up to four boards can be supported by supplying four unique i/o port
  1709.   values for each individual board installed.  Other details can be
  1710.   found in the file linux/Documentation/riscom8.txt.
  1711.  
  1712.   7.12.  The Baycom Serial/Parallel Radio Modem (`baycom=')
  1713.  
  1714.   The format of the boot argument for these devices is:
  1715.  
  1716.   ______________________________________________________________________
  1717.           baycom=modem,io,irq,options[,modem,io,irq,options]
  1718.   ______________________________________________________________________
  1719.  
  1720.   Using modem=1 means you have the ser12 device, modem=2 means you have
  1721.   the par96 device. Using options=0 means use hardware DCD, and
  1722.   options=1 means use software DCD. The io and irq are the i/o port base
  1723.   and interrupt settings as usual.  There is more details in the file
  1724.   README.baycom which is currently in the /linux/drivers/char/
  1725.   directory.
  1726.  
  1727.   8.  Closing
  1728.  
  1729.   If you have found any glaring typos, or outdated info in this
  1730.   document, please let me know. It is easy to overlook stuff.
  1731.  
  1732.   Thanks,
  1733.  
  1734.   Paul Gortmaker, gpg109@rsphy1.anu.edu.au
  1735.  
  1736.